<admintpl file="header" />
</head>
<body class="J_scroll_fixed">
	<div class="wrap js-check-wrap">
		<form class="well form-search" method="post" action="{:U('Gmmem/pay')}">
			<div class="search_type cc mb10">
				<div class="mb10">
					<span class="mr20"> 
					订单号： 
						<input type="text" name="order_id" style="width: 150px;" value="{$formget.order_id}" placeholder="请输入订单号..."> 
						&nbsp;&nbsp; 
					游戏：
					<select class="select_2" name="app_id" id="selected_id">
							<foreach name="games"  key="k" item="vo">
							<php>$gid_select=$k==$formget['app_id'] ?"selected":"";</php>
							<option value="{$k}"{$gid_select}>{$vo}</option>
							</foreach>
					    </select>
					    &nbsp;&nbsp; 
					
					 <br>	
					 <br>	
					 </span>
					 <span>
					 
					玩家账号： 
					<input type="text" name="username"
						style="width: 200px;" value="{$formget.username}"
						placeholder="请输入玩家账号..."> 
						 &nbsp;&nbsp;  
					 
					时间：
					<input type="text" name="start_time"
						class="js-date" value="{$formget.start_time|default=''}"
						style="width: 150px;" autocomplete="off">
					- 
					<input	type="text" class="js-date" name="end_time"
						value="{$formget.end_time}" style="width: 150px;"
						autocomplete="off"> &nbsp; &nbsp; 
					</span>
			    <input type="submit"  name='submit' class="btn btn-primary" value="搜索" />
				</div>
			</div>
		</form>
		<form class="js-ajax-form" action="" method="post">
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						<th>订单号</th>
						<th>玩家账号</th>
						<th>游戏名称</th>
						<th>游戏币</th>
						<th>充值人民币</th>
						<th>游戏币数量</th>
						<th>状态</th>
						<th>充值时间</th>
					</tr>
				</thead>
					<tr>
						<th style='color:#00f'>汇总</th>
						<th style='color:#00f'>--</th>
						<th style='color:#00f'>--</th>
						<th style='color:#00f'>--</th>
						<th style='color:#00f'>{$sumlist['sum_money']}</th>
						<th style='color:#00f'>{$sumlist['gm_cnt']}</th>
						<th style='color:#00f'>--</th>
						<th style='color:#00f'>--</th>
					</tr>
				<foreach name="items" item="vo">
				<tr>
					<td>{$vo.order_id}</td>
					<td>{$vo.username}</td>
					<td>{$games[$vo['app_id']]}</td>
					<td>{$gamemoneys[$vo['app_id']]}</td>
					<td>{$vo.amount}</td>
					<td>{$vo.gm_cnt}</td>
					<td>{$paystatus[$vo['status']]}</td>
					<td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>
				</tr>
				</foreach>
			</table>
			<div class="pagination">{$Page}</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>